package backstage.app.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
@TableName("admin_sys")
@Data
public class AdminSys implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6363338099898174845L;

	@TableId(type= IdType.AUTO)
	@TableField("aid")
    private Integer aid;

	@TableField("user_name")
    private String userName;
	@TableField("pass_word")
    private String passWord;

	@TableField("width_rule")
    private Integer widthRule;

	@TableField("stauts")
    private Integer stauts;
    
	@TableField("create_time")
	 @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    
}